@import "../dev";

@mixin aux-text-collpase() {
    &:before {
        content: unset;
    }
    &:after {
        content: unset;
    }
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* autoprefixer: off */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;   
}

@mixin aux-text-init($host: "aux-text") {
    #{$host} {
        display: inline-block;
    }
    @include aux-exp-host($host, ".aux-text") {
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        white-space: pre;
        width: 100%;
    }
    @content;
}

